-
Home
-
WooCommerce
-
10.2.2
-
Code
-
Classes
- StockNotificationsDataStore
| Total Complexity |
71 |
| Dependencies |
9 |
| Dependents |
3 |
| Total lines |
607 |
| Lines of code |
365 |
| Logical lines of code |
158 |
| Comment lines |
166 |
| Methods |
20 |
| Properties |
2 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| query() |
C |
33 |
22 |
92 |
| update() |
A |
43 |
12 |
43 |
| create() |
A |
44 |
8 |
46 |
| get_database_schema() |
S |
49 |
3 |
40 |
| read() |
S |
48 |
3 |
34 |
| after_meta_change() |
S |
59 |
4 |
14 |
| product_has_active_notifications() |
S |
57 |
2 |
15 |
| notification_exists_by_email() |
S |
61 |
2 |
12 |
| notification_exists_by_user_id() |
S |
61 |
2 |
12 |
| delete() |
S |
68 |
2 |
7 |
| add_meta() |
S |
72 |
2 |
5 |
| get_distinct_dates() |
S |
62 |
1 |
14 |
| init() |
S |
76 |
1 |
4 |
| get_table_name() |
S |
76 |
1 |
4 |
| get_meta_table_name() |
S |
81 |
1 |
3 |
| filter_raw_meta_data() |
S |
82 |
1 |
3 |
| get_internal_meta_keys() |
S |
82 |
1 |
3 |
| read_meta() |
S |
75 |
1 |
4 |
| update_meta() |
S |
73 |
1 |
5 |
| delete_meta() |
S |
73 |
1 |
5 |